import React from 'react';
import { connect } from 'react-redux';
import FoursStore from '../components/My/FoursStore';

class FoursStoreContainer extends React.Component {
  render() {
    return (
      <FoursStore {...this.props} />
    );
  }
}

export default connect((state) => {
  const { storeInfo, storeName, storeAddress, changeDiscount, store, cAddress } = state.myReducer;
  return {
    storeInfo,
    storeName,
    storeAddress,
    changeDiscount,
    store,
    cAddress,
  };
})(FoursStoreContainer);
